<!DOCTYPE html>
<html class="no-js multiview">
<head>
    <title>房间浏览</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="style/jquery.mobile-1.4.5.css"/>
    <link rel="stylesheet" href="style/jquery.mobile.simpledialog2.css"/>
    <style>
        img {
            width: 160px;
            height: 160px;
        }

    </style>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.mobile-1.4.5.js"></script>
</head>
<body>
<div data-role="page">
    <style>
        img {
            width: 160px;
            height: 160px;
        }

        .clickable-area {
            display: block;
            width: 100%;
            height: 300px;
            background-color: #ffefef;
        }

        .clickable-area:focus {
            outline: 0;
        }
    </style>
    <script type="text/javascript">
        //切换到更多界面
        function changeMorePage() {
            $.mobile.changePage("more.html", { transition: "slide", changeHash: false });
        }

        //切换到浏览订单界面
        function changeBroweOrderPage() {
            $.mobile.changePage("browseorder.html", { transition: "slide", changeHash: false });
        }
        $(document).on("pageinit", function (event) {
            var parentTemp = this;
            $.each($("ol li"), function (i, val) {
                $(val).click(function () {
                    $(val).simpledialog2({
                        mode: 'blank',
                        headerText: 'Some Stuff',
                        headerClose: true,
                        blankContent :
                                "<ul data-role='listview'><li>Some</li><li>List</li><li>Items</li></ul>"+
                                    // NOTE: the use of rel="close" causes this button to close the dialog.
                                        "<a rel='close' data-role='button' href='#'>Close</a>"
                    });
                });
            });
        });
    </script>
    <div data-role="header" data-position="fixed">
        <h2>房间浏览</h2>
    </div>
    <!-- /header -->

    <div data-role="content">
        <ol data-role="listview" data-inset="true">
            <li><a href="#"><img src="images/shi.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi1.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi2.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi3.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi4.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi1.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi2.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi3.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi4.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi1.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi2.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi3.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi4.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi1.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi2.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi3.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi4.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi1.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi2.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi3.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
            <li><a href="#"><img src="images/shi4.png"/>

                <h2>Broken Bells</h2>

                <p>Broken Bells</p></a></li>
        </ol>
    </div>
    <!-- /content -->
    <div data-role="footer" data-position="fixed">
        <div data-role="navbar">
            <ul>
                <li><a href="#" class="ui-btn-active ui-state-persist" data-iconpos="top" data-icon="home">房间浏览</a></li>
                <li><a onclick="changeBroweOrderPage()" data-iconpos="top" data-multiview="true"
                       data-icon="search">浏览订单</a></li>
                <li><a onclick="changeMorePage()" data-iconpos="top" data-icon="tag">更多</a></li>
            </ul>
        </div>
    </div>
    <div data-role="popup" id="popupArrow" class="ui-content" style="max-width:280px">
        <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
    <p>I have a close button at the top right corner with simple HTML markup.</p>
</div>
</div>
<!-- /page -->
</body>
</html>